package com.ecfront.pojo;

import java.util.Set;

/**
 * 商铺表
 * @version 1.0
 * @author zhufeng
 */
public class Shop {
	private int id;//商铺ID
	private String name;//商铺名
	private String note;//商铺公告
	private String info;//商铺介绍
	private String logoUrl;//商铺LOGO地址
	private int isLock;//商铺是否被锁定
	private String domain;//商铺独立域名
	//以下是多对一关联
	private ShopStyle style;//商铺样式表
	//以下是一对一唯一外键关联
	private User users;//商铺所有人
	//以下是一对多关联
	private Set links;//商铺所有的链接集合
	private Set messages;//商铺所有的留言
	private Set shopGoodsSorts;//商铺所拥有的分类
	private Set goodsImpl;//商铺所拥有的商品
	
	public Shop(){}
	public Shop(int id, String name, String note, String info, String logoUrl,
			int isLock, String domain, ShopStyle style, User users, Set links,
			Set messages, Set shopGoodsSorts, Set goodsImpl) {
		super();
		this.id = id;
		this.name = name;
		this.note = note;
		this.info = info;
		this.logoUrl = logoUrl;
		this.isLock = isLock;
		this.domain = domain;
		this.style = style;
		this.users = users;
		this.links = links;
		this.messages = messages;
		this.shopGoodsSorts = shopGoodsSorts;
		this.goodsImpl = goodsImpl;
	}
	public Set getShopGoodsSorts() {
		return shopGoodsSorts;
	}
	public void setShopGoodsSorts(Set shopGoodsSorts) {
		this.shopGoodsSorts = shopGoodsSorts;
	}
	public Set getMessages() {
		return messages;
	}
	public void setMessages(Set messages) {
		this.messages = messages;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public String getLogoUrl() {
		return logoUrl;
	}
	public void setLogoUrl(String logoUrl) {
		this.logoUrl = logoUrl;
	}
	public int getIsLock() {
		return isLock;
	}
	public void setIsLock(int isLock) {
		this.isLock = isLock;
	}
	public String getDomain() {
		return domain;
	}
	public void setDomain(String domain) {
		this.domain = domain;
	}
	public ShopStyle getStyle() {
		return style;
	}
	public void setStyle(ShopStyle style) {
		this.style = style;
	}
	public User getUsers() {
		return users;
	}
	public void setUsers(User users) {
		this.users = users;
	}
	public Set getLinks() {
		return links;
	}
	public void setLinks(Set links) {
		this.links = links;
	}
	public Set getGoodsImpl() {
		return goodsImpl;
	}
	public void setGoodsImpl(Set goodsImpl) {
		this.goodsImpl = goodsImpl;
	}
}
